/* 在原有样式基础上添加以下内容 */

/* 系统状态信息 */
.system-status {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

.system-status h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.status-item .label {
    font-weight: bold;
    color: #555;
}

.status-item .value {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-item .value.hardware {
    background: #2ecc71;
    color: white;
}

.status-item .value.simulation {
    background: #f39c12;
    color: white;
}

.status-item .value.available {
    background: #2ecc71;
    color: white;
}

.status-item .value.unavailable {
    background: #e74c3c;
    color: white;
}

/* 继电器卡片状态 */
.relay-card.disabled {
    opacity: 0.6;
    background: #f5f5f5;
}

.relay-card.disabled:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.relay-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.pin {
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 2px 6px;
    border-radius: 3px;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.status-badge.enabled {
    background: #2ecc71;
}

.status-badge.disabled {
    background: #95a5a6;
}

/* 禁用按钮 */
.btn-disabled {
    background-color: #bdc3c7 !important;
    color: #7f8c8d !important;
    cursor: not-allowed !important;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 步骤指示器 */
.mode-indicator.hardware {
    background-color: #2ecc71;
    color: white;
}

.mode-indicator.simulation {
    background-color: #f39c12;
    color: white;
}